package com.movie.ticket.sale.moviecommon.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ticket
 * @since 2020-12-05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RedisHash("TOrderVip")
public class TOrderVip implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户充值会员订单
     */
    @Id
    private Integer id;

    /**
     * 订单号
     */
    private String tradeNuo;

    private Integer userId;

    private Integer cinemaId;

    private Integer vipId;

    private Double price;

    /**
     * 月份
     */
    private Integer month;

    /**
     * 订单时间
     */
    private LocalDateTime data;
    
    private int state;
    
    


}
